//
// Created by Admin on 2023/5/21.
//

#include "ShoppingCart.h"

Book::Book(double price) { this->price = price; }

void
Book::accept(Visitor* visitor)
{
    visitor->visitor(this);
}

double
Book::getPrice()
{
    return price;
}
